Release 10.1A: OpenEdge Development:
Progress 4GL Reference
CAN-SET function
Returns a logical value indicating whether you can set a specified attribute for a specified widget.
Syntax
widget-handleAn expression that evaluates to a widget handle. The handle must refer to a valid widget.
attribute-nameAn expression that evaluates to a character-string value. The contents of the string must be an attribute name. For more information on attributes, see the "Attributes and Methods Reference" section.
Notes
- For a field-level widget, the CAN-SET function always returns TRUE for the FRAME attribute; however, you can set the frame attribute only if the widget is dynamic. Therefore, before setting the FRAME attribute for a widget, you can test that the operation is valid with a statement similar to the following:
- For SpeedScript, use with buffer-field, buffer-object, buffer, and query-object handles.
See also
CAN-QUERY function, LIST-QUERY-ATTRS function, LIST-SET-ATTRS function
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |